package com.aaa.project.controller;


import com.aaa.project.service.ITbLinkService;
import com.aaa.util.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-01-06
 */
@RestController
@RequestMapping("/tb-link")
public class TbLinkController {
    @Resource
    private ITbLinkService iTbLinkService;
    @PostMapping("getQianLink")
    public Result getQianLink(){
        return new Result(iTbLinkService.find());
    }
}

